package com.allm.ai.api.dto;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * A serializable DTO for caching user information in Redis.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;
    private String username;
    private String nickname;
    private String picture;
    private String email;
    private String phone;
    private String gender;
    private String birthdate;
    private String country;
    private String province;
    private String city;
    // Add any other fields you need from the original UserInfo
}